import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import store from './store';


Vue.config.productionTip = false
//全局自定义指令
Vue.directive('Myfocus',{
  inserted(el){
    // console.log(binding);
    el.focus()
  }
})
Vue.use(ElementUI);

new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')
